package com.gang.easyexcel_demo.listener;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.read.listener.ReadListener;
import com.gang.easyexcel_demo.entity.Teacher;

public class ReadDataListener implements ReadListener<Teacher> {

    @Override
    public void invoke(Teacher teacher, AnalysisContext analysisContext) {
        System.out.println(teacher);
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {

    }
}
